package com.huluobo.h3weekdemo.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.google.android.material.tabs.TabLayout.Tab
import com.huluobo.h3weekdemo.main.NewsBean
import com.huluobo.h3weekdemo.main.TabBean

/**
 *  Created by LC on 2023/11/1.
 */
@Database(entities = [NewsBean::class, TabBean::class], version = 1, exportSchema = false)
abstract class AppDatabase : RoomDatabase() {
    abstract fun newsDao(): NewsDao
    abstract fun tabDao(): TabDao
}